.class Lcom/bigtincan/android/adfree/FreeMe$8;
.super Ljava/lang/Object;
.source "FreeMe.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/bigtincan/android/adfree/FreeMe;->continueBoot()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/bigtincan/android/adfree/FreeMe;


# direct methods
.method constructor <init>(Lcom/bigtincan/android/adfree/FreeMe;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    .line 152
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    .prologue
    const/4 v8, 0x0

    .line 156
    const/4 v1, 0x0

    .local v1, showLag:Z
    const/4 v3, 0x0

    .line 162
    .local v3, visible:Z
    :cond_0
    if-eqz v1, :cond_1

    if-nez v3, :cond_1

    .line 164
    :try_start_0
    iget-object v4, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    const v5, 0x7f05000f

    invoke-virtual {v4, v5}, Lcom/bigtincan/android/adfree/FreeMe;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 165
    .local v2, tv2:Landroid/widget/TextView;
    const/4 v4, 0x0

    invoke-virtual {v2, v4}, Landroid/widget/TextView;->setVisibility(I)V

    .line 166
    const/4 v3, 0x1

    .line 169
    .end local v2           #tv2:Landroid/widget/TextView;
    :cond_1
    const-wide/16 v4, 0x3e8

    invoke-static {v4, v5}, Ljava/lang/Thread;->sleep(J)V

    .line 170
    const/4 v1, 0x1

    .line 171
    iget-object v4, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v4}, Lcom/bigtincan/android/adfree/FreeMe;->access$6(Lcom/bigtincan/android/adfree/FreeMe;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v4

    invoke-virtual {v4}, Lcom/bigtincan/android/adfree/Common;->UpdateServerVer()J

    move-result-wide v4

    const-wide/16 v6, 0x0

    cmp-long v4, v4, v6

    if-lez v4, :cond_0

    .line 173
    iget-object v4, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v4}, Lcom/bigtincan/android/adfree/FreeMe;->access$6(Lcom/bigtincan/android/adfree/FreeMe;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v4

    invoke-virtual {v4}, Lcom/bigtincan/android/adfree/Common;->GetServerVer()J

    .line 175
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "Version: "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v5}, Lcom/bigtincan/android/adfree/FreeMe;->access$6(Lcom/bigtincan/android/adfree/FreeMe;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v5

    invoke-virtual {v5}, Lcom/bigtincan/android/adfree/Common;->GetAppVer()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/bigtincan/android/adfree/Common;->LogMessage(Ljava/lang/String;)V

    .line 176
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "GetLocalVer: "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v5}, Lcom/bigtincan/android/adfree/FreeMe;->access$6(Lcom/bigtincan/android/adfree/FreeMe;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v5

    invoke-virtual {v5}, Lcom/bigtincan/android/adfree/Common;->GetLocalVer()J

    move-result-wide v5

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/bigtincan/android/adfree/Common;->LogMessage(Ljava/lang/String;)V

    .line 177
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "GetServerVer: "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v5}, Lcom/bigtincan/android/adfree/FreeMe;->access$6(Lcom/bigtincan/android/adfree/FreeMe;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v5

    invoke-virtual {v5}, Lcom/bigtincan/android/adfree/Common;->GetServerVer()J

    move-result-wide v5

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/bigtincan/android/adfree/Common;->LogMessage(Ljava/lang/String;)V

    .line 179
    const-wide/16 v4, 0x3e8

    invoke-static {v4, v5}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 183
    iget-object v4, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v4}, Lcom/bigtincan/android/adfree/FreeMe;->access$5(Lcom/bigtincan/android/adfree/FreeMe;)Landroid/os/Handler;

    move-result-object v4

    invoke-virtual {v4, v8}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 185
    :goto_0
    return-void

    .line 180
    :catch_0
    move-exception v4

    move-object v0, v4

    .line 181
    .local v0, e:Ljava/lang/Exception;
    :try_start_1
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "t.run() Exception: "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/bigtincan/android/adfree/Common;->LogMessage(Ljava/lang/String;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 183
    iget-object v4, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v4}, Lcom/bigtincan/android/adfree/FreeMe;->access$5(Lcom/bigtincan/android/adfree/FreeMe;)Landroid/os/Handler;

    move-result-object v4

    invoke-virtual {v4, v8}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0

    .line 182
    .end local v0           #e:Ljava/lang/Exception;
    :catchall_0
    move-exception v4

    .line 183
    iget-object v5, p0, Lcom/bigtincan/android/adfree/FreeMe$8;->this$0:Lcom/bigtincan/android/adfree/FreeMe;

    invoke-static {v5}, Lcom/bigtincan/android/adfree/FreeMe;->access$5(Lcom/bigtincan/android/adfree/FreeMe;)Landroid/os/Handler;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 184
    throw v4
.end method
